import React, { memo, useState } from "react";
import { Button } from "antd";
import ExcelImportModal from "./ExcelImportModalSupply";
const BatchImport = ({}) => {
	const [visible, setVisible] = useState(false);

	return (
		<>
			<Button onClick={() => setVisible(true)}>导入数据</Button>
			{visible && <ExcelImportModal onCancel={() => setVisible(false)}></ExcelImportModal>}
		</>
	);
};
export default memo(BatchImport);
